<?php

namespace App\Http\Requests\Center;

use App\Http\Requests\AbstractRequest;


class ChangePasswordRequest extends AbstractRequest
{
    /**
     * 验证器规则
     *
     * @return array
     */
    public function rules()
    {
        return [
            'old_password' => 'required|password',
            'password' => 'required|password|confirmed'
        ];
    }
}
